# $Id: PKGBUILD 66024 2012-02-22 14:42:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-datetime-event-recurrence
pkgver=0.16
pkgrel=5
pkgdesc="Perl/CPAN Module DateTime::Event::Recurrence"
arch=("any")
url="http://search.cpan.org/dist/DateTime-Event-Recurrence"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/F/FG/FGLOCK/DateTime-Event-Recurrence-0.16.tar.gz")
md5sums=("9a08830b081a93619f4a8564063e3bf0")
makedepends=("perl-datetime" "perl-datetime-set")
depends=("perl-datetime" "perl-datetime-set")

build() {
  cd $srcdir/DateTime-Event-Recurrence-0.16
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
